
@extends('home.public.master')
@section('content')
    <div class="main-container container">
        <ul class="breadcrumb">
            <li><a href="#"><i class="fa fa-home"></i></a></li>
            <li><a href="#">个人中心</a></li>
            <li><a href="#">注册</a></li>
        </ul>

        <div class="row">
            <div id="content" class="col-sm-12">
                <h2 class="title">注册账号</h2>
                <p>如果您已经有账号了?   <strong><a style="color: red;font-size: 20px;" href="{{route('home.login.loginFrom')}}">登录吧</a></strong>.</p>
                <form action="{{route('home.login.resign')}}" method="post" enctype="multipart/form-data" class="form-horizontal account-register clearfix">
                    @csrf
                    <fieldset id="account">
                        <legend>填写个人信息</legend>
                        <div class="form-group required">
                            <label class="col-sm-2 control-label" for="input-firstname">昵称</label>
                            <div class="col-sm-10">
                                <input type="text" name="name" value="" placeholder="昵称" id="input-firstname" class="form-control">
                            </div>
                        </div>
                        <div class="form-group required">
                            <label class="col-sm-2 control-label" for="input-email">邮箱</label>
                            <div class="col-sm-10">
                                <input type="email" name="email" value="" placeholder="邮箱" id="input-email" class="form-control">
                            </div>
                        </div>
                        <div class="form-group required">
                            <label class="col-sm-2 control-label" for="input-telephone">手机</label>
                            <div class="col-sm-10">
                                <input type="tel" name="phone" value="" placeholder="手机" id="input-telephone" class="form-control">
                            </div>
                        </div>
                    </fieldset>
                    <fieldset>
                        <legend>密码</legend>
                        <div class="form-group required">
                            <label class="col-sm-2 control-label" for="input-password">密码</label>
                            <div class="col-sm-10">
                                <input type="password" name="password" value="" placeholder="密码" id="input-password" class="form-control">
                            </div>
                        </div>
                        <div class="form-group required">
                            <label class="col-sm-2 control-label" for="input-confirm">确认密码</label>
                            <div class="col-sm-10">
                                <input type="password" name="password_confirmation" value="" placeholder="确认密码" id="input-confirm" class="form-control">
                            </div>
                        </div>
                    {{--</fieldset>--}}
                    {{--<fieldset>--}}
                        {{--<legend>验证码</legend>--}}
                        {{--<div class="form-group required">--}}
                            {{--<label class="col-sm-2 control-label" for="input-confirm">验证码</label>--}}
                            {{--<div class="col-sm-5">--}}
                                {{--<input type="password" name="" value="" placeholder="确认密码" id="input-confirm" class="form-control">--}}
                            {{--</div>--}}
                            {{--<div class="col-sm-5">--}}
                                {{--<button onclick="code()" type="button" class="btn btn-danger btn-min-width btn-glow mr-1 mb-1">发送验证码</button>--}}
                            {{--</div>--}}
                        {{--</div>--}}
                    {{--</fieldset>--}}
                    <div class="buttons">
                        <div class="col-sm-5 ml-5">
                            <button style="background: orangered;color: white;" type="submit" class="btn btn-min-width btn-glow mr-1 mb-1">注册</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
@endsection
@push('js')
    <script>
      function code() {
         $.ajax()
      }



    </script>
    @endpush
